html, body {
    width: 100%;
    height: 100%;
}

.clickable {
    cursor: pointer;
}

.text-color-red {
    color: #D00;
}

.text-color-orange {
    color: #A06700;
}

.text-color-green {
    color: #3D9F0E;
}

.text-color-blue {
    color: #06B;
}

.text-color-silver {
    color: #C0C0C0;
}

.text-align-start {
    text-align: start;
}

.line-through {
    text-decoration: line-through;
    opacity: 0.5;
}

.underline {
    text-decoration: underline
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic
}

/*版面入口外的容器div*/
.forum-entrances {
    text-align: start;
}

.el-descriptions__body {
    background-color: transparent !important;
}

.nga-quote {
    margin: 5px;
    padding: 5px;
    border: 1px solid #81a3f3;
    background-color: rgba(12, 178, 251, .12156862745098039);
}

.item-card {
    display: flex;
    border: 1px dashed #155f7e;
    border-radius: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 3px
}

.nga-table {
    border: 1px solid black;
    border-collapse: collapse;
    /*width: 99.95%;*/
    width: 100%;
}

.nga-collapse {
    margin: 5px;
    border-top: 1px solid #afc6cf;
    border-bottom: 1px solid #afc6cf;
    padding: 1px 0;
}

/*限制正文图片的最大高度*/
.nga-image img {
    max-height: 400px;
}

.nga-td {
    border: 1px solid black;
    word-wrap: break-word;
    word-break: break-all;
    text-align: left;
}

.dice-result {
    background: #e1c8a7;
    border: 1px solid #b9986e;
    color: #6b2d25;
    padding: 10px;
}

.notice-link {
    margin: 0 5px;
}

.dice-div {
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 10px;
}

.inline-block {
    display: inline-block;
}

/*设置了最大宽度的文字*/
.max-width-text {
    white-space: nowrap; /* 禁止换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
}

/*在主题内被处罚过（红框骑士）*/
.punished-in-topic {
    background: #F9D6B4;
    border: 1px solid #B46631;
    margin: 5px;
    padding: 5px;
}

/*主题列表中的标题单元格*/
.topic-cell {
    display: flex;
    justify-content: space-between;
}

.agree-count {
    margin: 0 5px;
}

.image-error {
    /*虚线*/
    border: 1px dashed #afc6cf;
    padding: 10px;
    text-align: center;
    vertical-align: center;
    display: inline-block;
}

.route-root {
    min-height: 300px;
}

/*统一设置loading的背景*/
.el-loading-mask {
    background-color: rgba(0, 0, 0, 0.7) !important; /* 修改背景颜色和透明度 */
}

.alert-message .el-message-box__message {
    white-space: pre-line; /* 保留换行符 */
}

/*用来注册快捷键的div 隐藏*/
.short-key-div {
    display: none;
}

.user-avatar {
    border: 1px solid #4b4b4b;
    max-width: 200px;
}


/*回复表格*/
.reply-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #5887f6;
}

.reply-table > tr {
    border-bottom: 1px solid #5486fb;
}

.flex-center {
    display: flex;
    align-items: center;
}

.reply-table > tr > td {
    padding: 5px;
    border-right: 1px solid #4b7df3;
    text-align: start;
    vertical-align: top;

    word-wrap: break-word; /* 旧版浏览器 */
    overflow-wrap: break-word; /* 新版标准 */
    word-break: break-all; /* 更激进的断词 */
}

.reply-table > tr > td:first-child {
    white-space: nowrap;
}

.reply-table > tr > td:last-child {
    width: 100%;
}

.nga-attachment {
    border: 1px dashed #155f7e;
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 6px;
}

.nga-attachment-thumb {
    height: 70px;
    width: 70px;
    margin-right: 8px;
}


/*移除 a标签的默认颜色*/
.clean-a {
    color: inherit; /* 继承父元素的颜色 */
    text-decoration: none; /* 通常也移除下划线 */
}

/*沃顿或更高级管理员的发言颜色*/
.warden-content {
    color: rgb(41, 98, 148)
}

.titan-content {
    color: rgb(123, 77, 136)
}